#{extends 'orgLead.html' /} #{ifErrors} ${error} #{/ifErrors} 
#{if isOrgLead}
	#{if allOrganizersInAllDepartments}
			<h3>Restrict Organizer from specific Department:</h3>
<table>
	<tr>
		<td><b>User</b>
		</td>
		<td><b>Organizer in</b>
		</td>
	</tr>
	<tr>
	#{list items : allOrganizersInAllDepartments, as: 'organizer'}
		<td><input type = "text" disabled="disabled" value = "${organizer.user.nickName}">
		</td>
		<td><input type = "text" disabled="disabled" value = "${organizer.department.name}">
		</td>
		<td><a href = "@{Application.doRestrictOrganizerFromDepartment(organizer.id)}">Restrict</a>
		
	</tr>
	#{/list}	
	#{/if}
	#{else}
	No Organizers in ${org.name}
	#{/else}
	<tr>
		
	</tr>
	
</table>
<span style="color: #c00" class="error"> #{error 'assigned' /}</span>
#{/if} #{else} You are Not Authorized to Assign roles #{/else}
<br>
<a href="@{Application.showOrg(org.id)}">Back to ${org.name}</a>